#if the following error occured: error while loading shared libraries: liblog4cpp.so.4: cannot open shared object file: No such file or directory
#Do: export  LD_LIBRARY_PATH=/usr/local/lib
#/usr/local/lib is where the log4cpp.so exists

targetFile=timer

.PHONY: clean run

$(targetFile): $(targetFile).cpp
	g++ $(targetFile).cpp -o $(targetFile) -L/usr/local/lib -lboost_system-mt
run:
	./$(targetFile)

clean:
	rm -f $(targetFile) 
